- 
                Notifications
    You must be signed in to change notification settings 
- Fork 421
Change WalletSource::sign_tx to sign_psbt #2775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f6147d6    to
    9ff9681      
    Compare
  
    | Codecov ReportAttention:  
 
 
 ❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@            Coverage Diff             @@
##             main    #2775      +/-   ##
==========================================
+ Coverage   88.57%   88.65%   +0.07%     
==========================================
  Files         115      115              
  Lines       90687    91188     +501     
  Branches    90687    91188     +501     
==========================================
+ Hits        80327    80841     +514     
+ Misses       7962     7922      -40     
- Partials     2398     2425      +27     ☔ View full report in Codecov by Sentry. | 
9ff9681    to
    68a7fcc      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Would appreciate if you could finish testing the anchors integration on your end and report back before landing this to make sure we're not missing anything else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm kinda meh on forcing users to use PSBTs here vs just having the option. I guess I don't really have a good feel for if "everything" has moved over to PSBTs yet, vs some stuff out there still using raw transactions during signing, but if not ISTM we should make this an option?
| 
 It feels like everything has moved over to PSBT, but maybe I have a biased view, idk if any of the multi coin libraries support it | 
bd09cd4    to
    7121290      
    Compare
  
    | 
 They can still get the unsigned transaction out of it and sign it manually? | 
| Yea, I didn't realize initially that you could just  | 
| I'll add that to the docs | 
7121290    to
    cdd7506      
    Compare
  
    cdd7506    to
    b80e4e6      
    Compare
  
    | Is there a compile error on master? The CI failure looks unrelated to this PR | 
| I think rust-bitcoin broke again :( | 
b80e4e6    to
    489b408      
    Compare
  
    | Specifically, rust-bitcoin/rust-bitcoinconsensus#74 but we should just land this without waiting on that. | 
Closes #2713
Might want to add a test for taproot inputs to be extra sure, but the debug asserts I added should be sufficient